package com.lw.system.service;

import com.github.pagehelper.PageInfo;
import com.lw.common.core.service.BaseServiceI;
import com.lw.system.model.User;

public interface UserService extends BaseServiceI<User, String> {
	public User login(User u);

	public User findUserByLoginName(String loginName);

	public PageInfo<User> findUserAndRoles(User u,int pageNum,int pageSize);

	public int edit(User user);

}
